package org.tgit.gateway.domain;


/**
 * API基本信息的Bean
 * Created by 01116211 on 2017-01-16.
 */
public class ApiInfo{
	// Api标识
	private String apiId;
	// 用户标识
	private String userId;
	// Api分类标识
	private String classId;
	// Api名称
	private String apiName;
	// Api描述
	private String apiDesc;
	// Api协议
	private String protocol;
	// Api资源路径格式：/path
	private String uri;
	// 访问uri
    private String accessUri;
	// Api沙箱域名格式：scheme://host:port
	private String sandboxHost;
	// 标签，多个标签,号分隔
	private String label;
	// Api状态，0-草稿，1-注册申请，成为待审核；2-注册审核退回；3-注册审核通过
	private int status;
	// API公开状态：1公开，2不公开
	private int otherStatus;
	// 云端审核时间
	private String verfyTime;
	// 云端审核意见
	private String verfyView;
	// 云端审核人
	private String verfyUser;
	// 1-所有学校
	private int isAllSchool;
	// 更新时间
	private String updateTime;
	// 创建时间
	private String createTime;
	// 发布时间
	private String pubdate;
	// 版权所有者
	private String domainId;
	// 最大并发访问数
    private long concrentMax;
    // 开始访问时间
    private String beginAccTime;
    // 结束访问时间
    private String endAccTime;
    // API已经注册的学校总量
    private int registeredSchools;
    // 实施说明
    private String implSpec;
    public String getApiId() {
        return apiId;
    }
    public void setApiId(String apiId) {
        this.apiId = apiId;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getClassId() {
        return classId;
    }
    public void setClassId(String classId) {
        this.classId = classId;
    }
    public String getApiName() {
        return apiName;
    }
    public void setApiName(String apiName) {
        this.apiName = apiName;
    }
    public String getApiDesc() {
        return apiDesc;
    }
    public void setApiDesc(String apiDesc) {
        this.apiDesc = apiDesc;
    }
    public String getProtocol() {
        return protocol;
    }
    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }
    public String getUri() {
        return uri;
    }
    public void setUri(String uri) {
        this.uri = uri;
    }
    public String getAccessUri() {
        return accessUri;
    }
    public void setAccessUri(String accessUri) {
        this.accessUri = accessUri;
    }
    public String getSandboxHost() {
        return sandboxHost;
    }
    public void setSandboxHost(String sandboxHost) {
        this.sandboxHost = sandboxHost;
    }
    public String getLabel() {
        return label;
    }
    public void setLabel(String label) {
        this.label = label;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    
    public String getVerfyView() {
        return verfyView;
    }
    public void setVerfyView(String verfyView) {
        this.verfyView = verfyView;
    }
    public String getVerfyUser() {
        return verfyUser;
    }
    public void setVerfyUser(String verfyUser) {
        this.verfyUser = verfyUser;
    }
    public int getIsAllSchool() {
        return isAllSchool;
    }
    public void setIsAllSchool(int isAllSchool) {
        this.isAllSchool = isAllSchool;
    }
    public String getDomainId() {
		return domainId;
	}
    public void setDomainId(String domainId) {
		this.domainId = domainId;
	}
    public int getOtherStatus() {
        return otherStatus;
    }
    public void setOtherStatus(int otherStatus) {
        this.otherStatus = otherStatus;
    }
    public long getConcrentMax() {
        return concrentMax;
    }
    public void setConcrentMax(long concrentMax) {
        this.concrentMax = concrentMax;
    }
	public int getRegisteredSchools() {
		return registeredSchools;
	}
	public void setRegisteredSchools(int registeredSchools) {
		this.registeredSchools = registeredSchools;
	}
	public String getImplSpec() {
		return implSpec;
	}
	public void setImplSpec(String implSpec) {
		this.implSpec = implSpec;
	}
    public String getVerfyTime() {
        return verfyTime;
    }
    public void setVerfyTime(String verfyTime) {
        this.verfyTime = verfyTime;
    }
    public String getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getPubdate() {
        return pubdate;
    }
    public void setPubdate(String pubdate) {
        this.pubdate = pubdate;
    }
    public String getBeginAccTime() {
        return beginAccTime;
    }
    public void setBeginAccTime(String beginAccTime) {
        this.beginAccTime = beginAccTime;
    }
    public String getEndAccTime() {
        return endAccTime;
    }
    public void setEndAccTime(String endAccTime) {
        this.endAccTime = endAccTime;
    }
}